Package io.github.koalaplot.core.line

Types

Link copied to clipboard
data class DefaultPoint<X, Y>(val x: X, val y: Y) : Point<X, Y>

Default implementation of the Point interface.

Link copied to clipboard
interface Point<X, Y>

Represents a point on a LineChart.

Functions

Link copied to clipboard
fun <X, Y, P : Point<X, Y>> XYChartScope<X, Y>.LineChart(    data: List<P>,     lineStyle: LineStyle? = null,     symbol: @Composable HoverableElementAreaScope.(P) -> Unit? = null,     modifier: Modifier = Modifier)

An XY Chart that draws series as points and lines.

Link copied to clipboard
fun <X, Y> Point(x: X, y: Y): Point<X, Y>

Creates a new DefaultPoint at the specified coordinates.